-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove failure
crate
#564
Remove failure
crate
#564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes so far LGTM.
Need to bump version number
But since this upgrade changes the function signatures, this will be a breaking change of all crates that are updated. Which means you need to increase the minor version number of all crates you updated.
Concerns about changes and crate version before this breaking change
Before we merge this PR, I have to get clear about out release strategy about crates under rust-sgx
.
If we want to have a version without this change but contains all changes before this PR and after last publish.
We need to publish new version of crates with new patch version if they only contain some version compatible changes.
Otherwise, we could just bump the minor versions in this PR.
What's you idea about this ^^ |
@Taowyoo Please review last 2 commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When using a new MINOR
version, you should start with 0 for MINOR
.
Note:
You could use this tool https://github.com/crate-ci/cargo-release to bump version in a more reliable way with command cargo release version minor
under root of each crate.
Co-authored-by: YX Cao <[email protected]>
Please fix the ci, some versions in |
…to ns/fix_failure_vulnerability
@Taowyoo Fixed, please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Thank you for working on this big upgrade!
Changes all usages of
failure
crate (https://crates.io/crates/failure) across the project intothiserror
(https://crates.io/crates/thiserror) andanyhow
(https://crates.io/crates/anyhow). This change fixes vulnerability introduced by thefailure
crate (https://rustsec.org/advisories/RUSTSEC-2020-0036)